#!/usr/bin/env bash

PROJECT_NAME=@projName

# 停止已有容器
docker rm -f ${PROJECT_NAME}

# 构建新镜像
docker build -t ${PROJECT_NAME}:publish .

# 启动新容器
docker run -d -p 8193:80 --name ${PROJECT_NAME} ${PROJECT_NAME}:publish
